package top.songxs.yygh.cmn.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-cmn")
public interface DictFeignClient {


    @GetMapping("/admin/cmn/dict/getName/{value}/{dictCode}")
    public String getHospitalName(@PathVariable("value") String value,
                                  @PathVariable("dictCode") String dictCode);



    @GetMapping("/admin/cmn/dict/getName/{value}")
    public String getName(@PathVariable("value") String value);











}
